package com.ruoyi.client.mapper;

import com.ruoyi.client.domain.Address;
import com.ruoyi.client.pojo.vo.AddressVo;

import java.util.List;

/**
 * @Author：HuaQP
 * @Date：2024/5/5
 */
public interface AddressMapper {
    List<AddressVo> list(Long userId);

    int insert(Address address);

    int update(Address address);

    AddressVo selectById(Long id);

    int delete(Long id);

    AddressVo getDefault(Long userId);
}
